package cn.itcast.travel.dao;

import cn.itcast.travel.domain.User;

public interface UserDao {
    public User findUserByUserName(String userName);
    public void save(User user);
    public User finByCode(String code);
    public void updateStatus(User user);

    public  User findByUserNameAndPassWord(String name,String password);
}
